package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name="T_DYPAY_OPERATORS_RECEIVE")
public class OperatorReceive implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static final String STATUS_ONE = "0";//取件
	public static final String STATUS_TWO = "1";//已处理
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_DYPAY_OPERATORS_RECEIVE")
	@SequenceGenerator(name = "SEQ_DYPAY_OPERATORS_RECEIVE", sequenceName = "SEQ_DYPAY_OPERATORS_RECEIVE")
	public Long id;
	@Column(name="ACCOUNT_NO")
	public String accountNo;
	@Column(name="OP_ID")
	public Long opId;// OP_ID  操作员id
	@Column(name="OP_ACCOUNTNO")
	public String opAccountNo;// OP_ACCOUNTNO  操作员账号
	@Column(name="OP_ACCOUNTNAME")
	public String opAccountName;// OP_ACCOUNTNAME  操作员姓名
	@Column(name="STATUS")
	public String status;// STATUS 状态 0： 取件 1：已处理
	@Column(name="CREATE_AT")
	public Date createAt;// createAt  创建时间
	@Column(name="CREATE_BY")
	public String createBy;
	@Column(name="UPDATE_AT")
	public String updateAt;
	@Column(name="UPDATE_BY")
	public String updateBy;
	@Column(name="operator_auth_id")
	public Long operatorAuthId;
	
	@Transient
	public AuditingItem auditingItem;
	
	public AuditingItem getAuditingItem() {
		return auditingItem;
	}
	public void setAuditingItem(AuditingItem auditingItem) {
		this.auditingItem = auditingItem;
	}
	public Long getOperatorAuthId() {
		return operatorAuthId;
	}
	public void setOperatorAuthId(Long operatorAuthId) {
		this.operatorAuthId = operatorAuthId;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getAccountNo() {
		return accountNo;
	}
	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}
	public Long getOpId() {
		return opId;
	}
	public void setOpId(Long opId) {
		this.opId = opId;
	}
	public String getOpAccountNo() {
		return opAccountNo;
	}
	public void setOpAccountNo(String opAccountNo) {
		this.opAccountNo = opAccountNo;
	}
	public String getOpAccountName() {
		return opAccountName;
	}
	public void setOpAccountName(String opAccountName) {
		this.opAccountName = opAccountName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	
	
}
